/*********************************************************************************
 *      Copyright:  (C) 2022 Zhang Changxing<ZhangChangxingVIP@163.com>
 *                  All rights reserved.
 *
 *       Filename:  install_signal.h
 *    Description:  This file gets the temperature on the raspberry PI DS18B20 sensor.
 *                 
 *        Version:  1.0.0(05/1/2022)
 *         Author:  Zhang Changxing <ZhangChangxingVIP@163.com>
 *      ChangeLog:  1, Release initial version on "05/1/2022  01:33:25 AM"
 *                 
 ********************************************************************************/

#ifndef  _INSTALL_SIGNAL_H_
#define  _INSTALL_SIGNAL_H_


#include "main.h"

int signal_global_run;

/***********************************************************************************************
 *   description:   When the program captures the corresponding signal, the function is executed
 *          args:   $sig:    The captured signal
 ***********************************************************************************************/
void handler(int sig);

/***********************************************************************************************
 *   description:   Install signal functions to capture signals
 ***********************************************************************************************/
void install_signal(void);


#endif   

